//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Arvin Mitchell','Carriage House Theatre At Montalvo Arts Center','Saratoga, CA','Thursday','5/9/2024','7:30 PM','6232311','Arvin-Mitchell-5-9-2024'],['Kim Mitchell','Riviera Theatre - NY','North Tonawanda, NY','Saturday','6/1/2024','7:30 PM','6111386','Kim-Mitchell-6-1-2024'],['Kim Mitchell','Riviera Theatre - NY','North Tonawanda, NY','Sunday','6/2/2024','7:30 PM','6111388','Kim-Mitchell-6-2-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Friday','6/7/2024','7:00 PM','5995727','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-6-7-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Adams Event Center','Missoula, MT','Sunday','6/23/2024','7:00 PM','5995726','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-6-23-2024'],['The Cleveland Orchestra: Bela Fleck & Brett Mitchell - Rhapsody in Blue','Blossom Music Center','Cuyahoga Falls, OH','Saturday','7/6/2024','7:00 PM','6277652','The-Cleveland-Orchestra--Bela-Fleck---Brett-Mitchell---Rhapsody-in-Blue-7-6-2024'],['Winter Park Jazz Festival: Anthony Hamilton, Stokley, Average White Band, Eric Darius, Rebecca Jade & Nathan Mitchell','Rendezvous Event Center','Winter Park, CO','Saturday','7/20/2024','11:00 AM','6387247','Winter-Park-Jazz-Festival--Anthony-Hamilton--Stokley--Average-White-Band--Eric-Darius--Rebecca-Jade---Nathan-Mitchell-7-20-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Charleston Coliseum & Convention Center - Charleston','Charleston, WV','Friday','7/26/2024','7:00 PM','5995734','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-7-26-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Van Andel Arena','Grand Rapids, MI','Thursday','8/1/2024','7:00 PM','5995736','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-8-1-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Huntington Center','Toledo, OH','Friday','8/2/2024','7:00 PM','5995737','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-8-2-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Bank of New Hampshire Pavilion','Gilford, NH','Friday','9/6/2024','7:00 PM','5995744','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-9-6-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Budweiser Gardens','London, Canada','Wednesday','10/2/2024','7:00 PM','5995747','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-10-2-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Slush Puppie Place','Kingston, Canada','Saturday','10/5/2024','7:00 PM','5995749','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-10-5-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Canadian Tire Centre','Ottawa, Canada','Sunday','10/6/2024','7:00 PM','5995750','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-10-6-2024'],['Jordan Davis, Mitchell Tenpenny & Ashley Cooke','Scotiabank Centre','Halifax, Canada','Saturday','10/12/2024','7:00 PM','5995754','Jordan-Davis--Mitchell-Tenpenny---Ashley-Cooke-10-12-2024']],'Mitchell Center','http://www.ticketnetwork.com/ticket/Mitchell-Center-events.aspx');